<?php

/**
 * This template is used when generating
 * div with similar questions while
 * parsing one question (submitted question)
 *
 * The result is then stored in QUESTIONS collection
 * under the sims key
 *
 * Usually this template is not used during
 * page rendering, only during saving
 * data
 *
 */
class tplSimquestions2 extends StudyBuddy\Template\Template
{

	protected static $vars = array(
	'qid' => '',
	'q_url' => '',
	'q_intro' => '',
	'q_title' => '',
	'q_date' => '');

	protected static $tpl = '<div class="simq"><a href="/q%1$s/%2$s">%4$s</a><br>
	<span class="ts" title="%5$s">%5$s</span><br>%3$s</div>';
}